import { createRouter, createWebHistory } from 'vue-router';
import AutoSearch from '../views/AutoSearch.vue';
import GetText from '../views/GetText.vue';
import GetColor from '../views/GetColor.vue';
import Density from '../views/Density.vue';

const routes = [
  { path: '/', component: AutoSearch, name: 'AutoSearch' },
  { path: '/getText', component: GetText, name: 'GetText' },
  { path: '/getColor', component: GetColor, name: 'GetColor' },
  { path: '/density', component: Density, name: 'Density' },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
